package com.shd.edanpei.presenter.contract;


import android.os.Bundle;

import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;
import com.shd.edanpei.bean.CustomerBean;
import com.shd.edanpei.bean.ImgInfoBean;
import com.shd.edanpei.bean.PicBean;

public interface FileListContract {

    interface FileListIView extends BaseIView {

        void setUI(ImgInfoBean bean);

        void setData(CustomerBean customerBean);
    }

    interface FileListIPresenter extends BaseIPresenter {
        //根据id获取信息
        void getOrderInfo(int orderID);

        void getFileData(int orderID, Bundle bundle);

        void submitCarFile(PicBean picBean, CustomerBean customerBean);

        void submitHouseFile(PicBean picBean, CustomerBean customerBean);

        void submitCreditAttachment(PicBean picBean, CustomerBean customerBean);

        void submitTaxrAttachment(PicBean picBean, CustomerBean customerBean);


        void updateCreditAttachment(PicBean picBean, int orderID);

        void updateTaxrAttachment(PicBean picBean, int orderID);

        void updateCarFile(PicBean picBean, int orderID);

        void updateHouseFile(PicBean picBean, int orderID);
    }
}
